﻿using KZ.Utilities;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using KZ.Express.H.DAL;
using KZ.Express.H.ENT;

namespace KZ.Express.H.DAL
{
    public class PriceListDetailDAL : BaseDAL
    {
        public void Delete(int priceListID)
        {
            List<SqlParameter> parameters = new List<SqlParameter>();
            parameters.Add(new SqlParameter("PriceListID", priceListID));

            _helper.ExecuteNonQuery(PriceListDetailENT.DeleteByPriceListIDProcedure, parameters.ToArray());
        }
    }
}